/* 
 *  Incub - incubate your baby robot
 *  Copyright (C) 2008 Stanislaw Szymczyk
 *  e-mail: sszymczy@gmail.com   www: http://cogville.cog-lab.com
 *
 *  This file is part of Incub.
 *
 *  Incub is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  Incub is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Incub.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
 
#ifndef ENTITY_H_
#define ENTITY_H_

#include <string>
#include <vector>

class Joint;
class Shape;
class Sensor;

#include "Transformable.h"
#include "Shape.h"
#include "Joint.h"
#include "Sensor.h"

class Entity : public Transformable {
	std::string name;
	bool still;
	std::vector<Shape*> shapes;
	std::vector<Joint*> joints;
	std::vector<Sensor*> sensors;
	Joint *parentJoint;
	public:
	Entity();
	void setName(std::string& name);
	std::string& getName();
	void addShape(Shape* e);
	std::vector<Shape*>& getShapes();
	void addJoint(Joint* j);
	std::vector<Joint*>& getJoints();
	void addSensor(Sensor* j);
	std::vector<Sensor*>& getSensors();
	void setParentJoint(Joint *joint);
	Joint* getParentJoint();
	void setStill(std::string& s);
	bool getStill();
	virtual ~Entity();
};

#endif /*ENTITY_H_*/
